package com.tianhao.luo.v1.use;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @ClassName: Searcher
 * @Description: 星探实体
 * @author: tianhao.luo@hand-china.com
 * @date: 2020/7/13  16:45
 */
public class Searcher extends AbstractSearcher {
    private static final Logger LOGGER = LoggerFactory.getLogger(Searcher.class);
    public Searcher(IGreatTemperamentGirl greatTemperamentGirl, IGoodBodyGirl goodBodyGirl) {
        super(greatTemperamentGirl, goodBodyGirl);
    }

    public Searcher(IGreatTemperamentGirl greatTemperamentGirl) {
        super(greatTemperamentGirl);
    }

    public Searcher(IGoodBodyGirl goodBodyGirl) {
        super(goodBodyGirl);
    }

    @Override
    void show() {
        LOGGER.info("美女信息如下：");
        if (null != super.goodBodyGirl){
            super.goodBodyGirl.goodLooking();
            super.goodBodyGirl.niceFigure();
        }
        if (null != super.greatTemperamentGirl){
            super.greatTemperamentGirl.greatTemperament();
        }
    }
}
